package com.jinmdz.fmis.api.api.model.calcrule;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 计算规则请求数据
 *
 * @author LiCongLu
 * @date 2020-04-07 13:47
 */
@ApiModel(value = "计算规则请求数据", description = "计算规则请求数据")
public class CalcRuleData extends BaseBean {
    /**
     * 规则编码
     */
    @AnValidate(name = "规则编码", required = true)
    @ApiModelProperty(value = "规则编码", name = "ruleCode", position = 1)
    private String ruleCode;

    /**
     * 规则数据
     */
    @AnValidate(name = "规则数据", required = true)
    @ApiModelProperty(value = "规则数据", name = "ruleData", position = 2)
    private String ruleData;

    public String getRuleCode() {
        return ruleCode;
    }

    public CalcRuleData setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
        return this;
    }

    public String getRuleData() {
        return ruleData;
    }

    public CalcRuleData setRuleData(String ruleData) {
        this.ruleData = ruleData;
        return this;
    }
}
